package isbc.quinielas;

import isbc.quinielas.gui.Entrada;

import javax.swing.JFrame;

import jcolibri.cbrcore.CBRCase;
import jcolibri.cbrcore.CBRCaseBase;
import jcolibri.exception.ExecutionException;

public class MainQuinielas {
	
	public static void main(String[] args) {
		
		Quinielas q = Quinielas.getInstance();
		CBRCaseBase casebase;
		try {
			q.configure();
			casebase = q.preCycle();
			for(CBRCase c : casebase.getCases())
				System.out.println(c);
		
		} catch (ExecutionException e) {
			e.printStackTrace();
		}
		
		JFrame v = new Entrada();
		v.setVisible(true);

	}

}
